<style type="text/css">


    .table-responsive .table>tbody>tr>td {
        text-align: center;
        vertical-align: middle;
        color: #676767;
    }


    .table-bordered {
        border: 1px solid #e8edf0;
    }

    .table-bordered>thead>tr>th,
    .table-bordered>tbody>tr>th,
    .table-bordered>tfoot>tr>th,
    .table-bordered>thead>tr>td,
    .table-bordered>tbody>tr>td,
    .table-bordered>tfoot>tr>td {
        border: 1px solid #e8edf0;
    }

    .table thead tr {
        background: #f8f9fb;
    }

    .order_price span {
        width: 70px;
        display: inline-block;
        text-align: right;
    }
</style>

<div class="row">
    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">基础信息</div>
            <div class="panel-body">
                <table class="table table-striped">
                    <tbody>
                    <tr>
                        <td>订单编号</td>
                        <td>{$row.order_no}</td>
                    </tr>
                    <tr>
                        <td>酒店名称</td>
                        <td>{$row.hotel_name}</td>
                    </tr>
                    <tr>
                        <td>房间名称</td>
                        <td>{$row.room_name}</td>
                    </tr>
                    <tr>
                        <td>入住日期</td>
                        <td>{$row.checkin_date}~{$row.leave_date} {$row.day}晚</td>
                    </tr>
                    <tr>
                        <td>住客姓名</td>
                        <td>{$row.realname}</td>
                    </tr>
                    <tr>
                        <td>联系电话</td>
                        <td>{$row.mobile}</td>
                    </tr>
                    <tr>
                        <td>支付方式</td>
                        <td>
                            {if $row.pay_type=='wechat'}
                            微信支付
                            {/if}
                            {if $row.pay_type=='balance'}
                            余额支付
                            {/if}
                            {if $row.pay_type=='offline'}
                            线下支付
                            {/if}
                        </td>
                    </tr>
                    {if $row.room_number}
                    <tr>
                        <td>房号</td>
                        <td>{$row.room_number}</td>
                    </tr>
                    <tr>
                        <td>确认入住时间</td>
                        <td>{$row.checkin_time|datetime}</td>
                    </tr>
                    {/if}
                    {if $row.pay_time}
                    <tr>
                        <td>支付时间</td>
                        <td>{$row.pay_time|datetime}</td>
                    </tr>
                    {/if}
                    {if $row.cancel_time}
                    <tr>
                        <td>取消时间</td>
                        <td>{$row.cancel_time|datetime}</td>
                    </tr>
                    {/if}
                    <tr>
                        <td>订单状态</td>
                        <td>{$row.order_status_name}</td>
                    </tr>
                    <tr>
                        <td>订单创建时间</td>
                        <td>{$row.createtime|datetime}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">付款信息</div>
            <div class="panel-body">
                <table class="table table-striped">
                    <tbody>
                    <tr>
                        <td>订单金额</td>
                        <td>¥{$row.order_money}</td>
                    </tr>
                    <tr>
                        <td>实际付款金额</td>
                        <td>¥{$row.pay_money}</td>
                    </tr>
                    <tr>
                        <td>优惠券优惠金额</td>
                        <td>¥{$row.coupon_money}</td>
                    </tr>
                    <tr>
                        <td>积分抵扣金额</td>
                        <td>¥{$row.score_money}</td>
                    </tr>
                    <tr>
                        <td>会员优惠金额</td>
                        <td>¥{$row.discount_money}</td>
                    </tr>
                    <tr>
                        <td>奖励积分</td>
                        <td>{$row.award_score}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>